package com.mrd.gtimp.business.service;

import com.mrd.base.BaseBiz;
import com.mrd.gtimp.business.entity.GoodsView;
import com.mrd.spring.repository.BaseRepository;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class GoodsViewBiz extends BaseBiz<GoodsView> {


    @Resource
    // 该处指定注入BaseRepository的dao对象
    @Qualifier("goodsViewDao")
    public void setBaseRepository(BaseRepository<GoodsView, String> baseRepository) {
        super.baseRepository = baseRepository;
    }

}
